package com.lebang.mapper;

import com.lebang.entity.RankSort;
import com.lebang.example.RankSortExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RankSortMapper {
    long countByExample(RankSortExample example);

    int deleteByExample(RankSortExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RankSort record);

    int insertSelective(RankSort record);

    List<RankSort> selectByExample(RankSortExample example);

    RankSort selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RankSort record, @Param("example") RankSortExample example);

    int updateByExample(@Param("record") RankSort record, @Param("example") RankSortExample example);

    int updateByPrimaryKeySelective(RankSort record);

    int updateByPrimaryKey(RankSort record);

    int selectMaxSort();

    RankSort getMaxSortVo();
}